package sctu.edu.java.year2016.team07.nieying.day20160520.chapter3_3;

/**
 * Created by Administrator on 2016/5/20 0020.
 */

/**
 * 编写java程序，声明两个变量并赋值38.9和27.2作为矩形的长和宽，求出该矩形的面积。
 */
public class mianjiyuansuan {
    public static void main(String[] args){
       float a=38.9f,b=27.2f;
       float c=a*b;
         System.out.println("矩形面积为："+c);
    }
}
